package com.jeff.android.lab.module.media;

import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

import com.jeff.android.lab.BaseActivity;
import com.jeff.android.lab.R;

/**
 * @author: dingfeng
 * @date: 2020-01-13
 * @since: 1.0.0
 **/
public class HorizontalVideoRecordActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fragment_depend);
        getSupportFragmentManager().beginTransaction()
                .add(R.id.fragment_container, new VideoRecordFragment())
                .commitAllowingStateLoss();
    }

}
